package model

import "time"

type FilesModel struct {
	Id        int       `json:"id" gorm:"type:int(11) auto_increment; NOT NULL; primary_key"`
	File      string    `json:"file" gorm:"type:varchar(255); COMMENT:'上传文件地址'"`
	ErrFile   string    `json:"err_file" gorm:"type:varchar(255); COMMENT:'错误文件地址'"`
	CreatedAt time.Time `json:"created_at" gorm:"type:timestamp"`
	UpdatedAt time.Time `json:"updated_at" gorm:"type:timestamp"`
}

func (FilesModel) TableName() string {
	return "files"
}
